package com.epoch.utils;

import com.epoch.exception.ParamsException;

/**
 * 工具类
 */
public class AssertUtil {
    public static  void isTrue(boolean flag,String msg){
        //判断返回值，如果为true，则抛出异常
        if(flag){
            throw new ParamsException(msg);
        }
    }
}
